home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1995 August
/
CICA - The Ultimate Collection of Shareware for Windows (Disc 2) (August 1995).iso
/
disc2
/
nt
/
source.exe
/
POSIX
/
BSDPSX
/
GETWD.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-09-17
|
335 b
|
27 lines
/*
* Getwd: Not Posix. Written in terms of Posix call, getcwd. AOJ
*/
#include <unistd.h>
char *getwd (buf)
register char
*buf;
{
return getcwd (buf, 80);
}
/*
main (argc, argv)
char **argv;
{
char
*c,
buf [64];
c = getwd (buf);
if (!c)
puts ("failed");
printf ("getwd %s\n", buf);
}
*/